<?php include("dummy.php"); ?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <title><?php get_page_clean_title(); echo " - "; get_site_name(); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <?php get_header(); ?>
    <link href="<?php get_theme_url(); ?>/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="<?php get_theme_url(); ?>/css/taffard.css" rel="stylesheet" media="screen">
  </head>
  <body>
  <div class="container">

  	<div class="row">
  		<div class="span12" id="top-barrier"></div>
  	</div>

  	<div class="row">
    	<div class="span6 offset1 hidden-phone text-center"><h2>Auto Electrical & Mechanical Servicing</h2></div>
    	<div class="span6 offset2 visible-phone text-center"><h3>Auto Electrical & Mechanical Servicing</h3></div>
  	</div>

  <div class="row">
  	<div class="span10 offset1">
  	<div id="holder">
  		<div class="row-fluid">
	  		<div class="span10" id="nav-area">
	  			<ul class="hidden-phone inline" id="desk-nav">
	  				<?php get_navigation(return_page_slug()); ?>
	  			</ul>
	  			<ul class="visible-phone inline" id="mobile-nav">
	  				<?php get_navigation(return_page_slug()); ?>
	  			</ul>

	  		</div>
	  		<div class="span1 hidden-phone" id="logo-holder">
	  			<a href="<?php get_site_url(); ?>"><div id="logo"></div></a>
	  		</div>
  		</div>
  		<div class="row-fluid">
  			<div class="span12 panel" id="contact">
  				<a href="#"><div class="contact wrench"></div>&nbsp;&nbsp;<h3>83 Hinemoa Street, Birkenhead</h3></a><br>
  				<a href="#"><div class="contact mobile"></div>&nbsp;&nbsp;<h3>0211365729</h3></a><br>
  				<a href="#"><div class="contact phone"></div>&nbsp;&nbsp;<h3>09 2821290</h3></a><br>
  			</div>
  		</div>

  		<div class="row-fluid">
  			<div class="span12 panel"><?php insert_page_content(); ?></div>
  		</div>

	</div>
  	</div>
  	<div class="row" id="credits">
	  	<div class="span12 text-center"><small><?php insert_page_content("index->Copyright"); ?></small></div>
	 </div>
  </div>

    <script src="http://code.jquery.com/jquery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script>
	  //  $(document).ready(function(){
	    //	$(window).resize(function {
	    	/*	var number = $("#desk-nav li").length; // Number of nav links
	    		var navWidth = $("#desk-nav").width() - 10; // Length of the space in pixels
	    		navWidth = navWidth - (number * 3); // remove gap

	    		var buttonWid = (navWidth / number) - 10;
		    	$("#desk-nav li").css("width" , navWidth);
		 	   $("#credits").html(navWidth);
		//    }); */
	 //   });
    </script>
  </body>
</html>